home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _A6CD6C08CDCA4F0AA9FDEC985498BB4A < prev    next >
Encoding:
Text File  |  2006-08-04  |  689 b   |  26 lines

  1. from PSPApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': u'Corel Corporation',
  6.         'Copyright': u'Copyright (c) 2003-2004 Corel Corporation  All rights reserved.',
  7.         'Description': u'',
  8.         'Host': u'Paint Shop Pro',
  9.         'Host Version': u'8.10'
  10.         }
  11.  
  12. def Preset_ColorAdjustLevels():
  13.     return {
  14.         'Levels': {
  15.             'RGB': (30,230,1,0,255), 
  16.             'Red': (0,255,1,0,255), 
  17.             'Green': (0,255,1,0,255), 
  18.             'Blue': (0,255,1,0,255)
  19.             }
  20.         }
  21.  
  22. def Do(Environment):
  23.     # Color Adjust Levels
  24.     App.Do( Environment, 'ColorAdjustLevels',         Preset_ColorAdjustLevels())
  25.  
  26.